<template>
  <el-card class="box-card" :body-style="{ display:'flex',padding: '0px' }">
    <i class="el-icon-more" :class="'icon-style'"></i>
    <div class="clearfix">
      <p class="price">￥1234</p>
      <p class="order">今日已付款</p>
    </div>
  </el-card>
</template>

<script>
export default {
name: "index"
}
</script>

<style lang="less" scoped>
.box-card{
  padding: 0;
  .icon-style{
    display: inline-block;
    font-size: 30px;
    width: 80px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    color: #fff;
    background-color:#ffbc7e;
  }
  .clearfix{
    display: flex;
    //使 flex 按列排布
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-left: 15px;
    .price{
      font-size: 30px;
    }
    .order{
      color:#999999;
    }
  }
}
</style>
